<?php
/* @var $this ProductController */
/* @var $model Product */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'ProductId'); ?>
		<?php echo $form->textField($model,'ProductId',array('size'=>10,'maxlength'=>10)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'CategoryId'); ?>
		<?php echo $form->textField($model,'CategoryId'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'SubCategoryId'); ?>
		<?php echo $form->textField($model,'SubCategoryId'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'GenreId'); ?>
		<?php echo $form->textField($model,'GenreId'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'BrandId'); ?>
		<?php echo $form->textField($model,'BrandId'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ProductName'); ?>
		<?php echo $form->textField($model,'ProductName',array('size'=>60,'maxlength'=>100)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ProductNameRewrite'); ?>
		<?php echo $form->textField($model,'ProductNameRewrite',array('size'=>60,'maxlength'=>100)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Price'); ?>
		<?php echo $form->textField($model,'Price'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'PriceOff'); ?>
		<?php echo $form->textField($model,'PriceOff'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'SoldQuantity'); ?>
		<?php echo $form->textField($model,'SoldQuantity'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Unit'); ?>
		<?php echo $form->textField($model,'Unit',array('size'=>10,'maxlength'=>10)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Status'); ?>
		<?php echo $form->textField($model,'Status'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Descriptions'); ?>
		<?php echo $form->textArea($model,'Descriptions',array('rows'=>6, 'cols'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Quantity'); ?>
		<?php echo $form->textField($model,'Quantity'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'CreateDate'); ?>
		<?php echo $form->textField($model,'CreateDate'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'UpdateDate'); ?>
		<?php echo $form->textField($model,'UpdateDate'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->